<?php

/*
 * This file belongs to Techno Web Solutions :: http://technowebsol.com
 */

/**
 * Description of Home
 * Sep 13, 2012
 * File: home.php
 * Encoding: UTF-8
 * Project: fbClone
 *
 * @author Suman Choudhury <suman@technowebsol.com>
 */
class Home extends Controller {
    function __construct() {
        parent::__construct();
        $this->home_model = new Home_model();
    }
    function index(){
        //echo "hello";
        $user = $this->home_model->getUsers();
        //echo $this->db->last_query;
        //pr($this->helper);
        $this->view("header");
        $this->view("menu");
        $this->view("home");
        $this->view("footer");
        //pr($user,false);
        //pr($this, false);
        
    }
    function chk(){
        if($this->home_model->checkLogin($_REQUEST)){
            
        }
    }
    function register(){
        
    }
    function save(){
        if(true)$this->success();
        else 
            $this->register ();
    }
    function success(){
        
    }
}

?>
